package com.hiss.basic.starter.log.event;

import lombok.Data;

import javax.servlet.http.HttpServletRequest;
import java.io.Serializable;

/**
 * 登录日志事件
 */
@Data
public class LoginLogEvent implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户账号
     */
    private String username;

    /**
     * 登录状态 0 成功 1 失败
     */
    private Integer status;

    private HttpServletRequest request;
}
